package com.izhar.answeringmachine.Entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class RunFail implements Serializable {

    private String id;

    //错误原因
    private String reason;

    //运行错误的例子id
    private String sampleId;

    //错误例子返回的结果
    private String errorResult;

    private Date updateTime;


    private Date createTime;

    @Override
    public String toString() {
        return "RunFail{" +
                "id='" + id + '\'' +
                ", reason='" + reason + '\'' +
                ", sampleId='" + sampleId + '\'' +
                ", errorResult='" + errorResult + '\'' +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                '}';
    }
}
